#pragma once
#include "PointLabIO/Prerequisites.h"

namespace PointLabIO
{
	class POINTLABIO_EXPORT FileInfo
	{
	public:
		FileInfo();
		FileInfo(std::string filePath);
		~FileInfo();

	public:
		void setFile(const std::string filePath);
		std::string fileName() const;
		std::string filePath() const;
		std::string suffix() const;

		bool exists() const;
		bool isReadable() const;
		bool isWritable() const;
		bool isHidden() const;

	private:
		void analysisFilePath();
	private:

		std::string sFileName;
		std::string sFilePath;
		std::string sExtendName;
		std::string sAllfilePath;
	};
}
